package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.GenreRankInVoteMapper;
import com.chinasoft.movies.pojo.GenreRankInVote;
import com.chinasoft.movies.service.GenreRankInVoteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GenreRankInVoteServiceImpl implements GenreRankInVoteService {
    @Autowired
    private GenreRankInVoteMapper genreRankInVoteMapper;

    @Override
    public List<GenreRankInVote> queryGenreRankInVote(){
        return genreRankInVoteMapper.queryGenreRankInVote();
    }
}
